package com.wyp.design.pattern.behavior.state;

/**
 * CourseVideoState 课程视频状态
 *
 * @author: Oliver
 * @time: 2021/1/22/20:04
 */
public abstract class CourseVideoState {
    protected CourseVideoContext courseVideoContext;

    public void setCourseVideoContext(CourseVideoContext courseVideoContext) {
        this.courseVideoContext = courseVideoContext;
    }

    abstract void play();

    abstract void pause();

    abstract void speed();

    abstract void stop();
}
